package tsing.javase.designpattern.stratege;

/**
 * @Date 28/7/2023 下午3:07
 */
public class StrategeDemo {

    public static void main(String[] args) {
        // 传入type ，获取不同的策略执行上下文
       StrategyContext strategyContext = StrategyContext.createStrategyContext(0);
        strategyContext.doTravel();
    }
}
